package com.guodu.service;

import java.io.File;
import java.util.List;

import com.guodu.entity.SupplierQualified;
import com.guodu.entity.SupplierQualifiedS;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.SupplierQualifiedQueryVo;
import com.guodu.vo.SupplierQualifiedVo;




public interface SupplierQualifiedService {
	int findCount(SupplierQualifiedQueryVo supplierQualifiedQueryVo,Units units,UserInfo userInfo);
	List<SupplierQualifiedVo> findAll(SupplierQualifiedQueryVo supplierQualifiedQueryVo,Units units,UserInfo userInfo,int pageSize,int curPage);
	public List<SupplierQualified> downLoad(SupplierQualifiedQueryVo supplierQualifiedQueryVo,Units units,UserInfo userInfo);
	public void examinAll(SupplierQualifiedQueryVo supplierQualifiedQueryVo,Units units,UserInfo userInfo);
	
	public void save(SupplierQualified supplierQualified);
	
	void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	
	public void delByIds(String[] ids,String [] fjurls);
	
	public SupplierQualified findById(String id);
	
	public void update(SupplierQualified supplierQualified,File reportFile,String reportFileFileName,Long userId);
	
	public List<SupplierQualifiedS> findStatus(String id);
	
	public void deleteById(String id,String fileUrl);
}
